package allwe.thread02;

public class BuyTicketTest {
    public static void main(String[] args) {
        BuyTicketThread thread = new BuyTicketThread();

        Thread t1 = new Thread(thread, "线程1");
        t1.start();

        Thread t2 = new Thread(thread, "线程2");
        t2.start();

        Thread t3 = new Thread(thread, "线程3");
        t3.start();
    }
}
